<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"
    import="java.util.ArrayList"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="common/css/style.css" media="all" rel="stylesheet" type="text/css"  />
<title>ログイン画面</title>
</head>
<body>
<!-- wrapper start -->
<div id="wrapper">

<h1>EMS[Employee Management System]</h1>
<h2>ログイン</h2>

<!-- errorMessage start -->
<div id="errorMessage">
<% ArrayList<String> errorMessages = (ArrayList<String>)request.getAttribute("errorMessages");
if(errorMessages != null && errorMessages.isEmpty() == false){
	for(String error : errorMessages) out.println(error + "<br />");
}%>
</div>
<!-- errorMessage end -->

<!-- login start -->
<div id="login">
<form method="post" action="LoginServlet">
	社員番号　<input type="text" size="30" maxlength="5" name="shain_no" value="" /><br />
	パスワード<input type="text" size="30" maxlength="20" name="password" value="" /><br />
	<input type="submit" value="ログイン" />
</form>
</div>
<!-- login end -->

</div>
<!-- wrapper end-->
</body>
</html>